Bitmap

interface Bitmap

A binary image in the BGRA format.

The Bitmap can be used to obtain graphical images in the supported UI toolkits. For this, look up the toolkit-specific ancestors of the com.teamdev.jxbrowser.view.graphics.BitmapImage available in the classpath.

Since

7.1

Functions

Link copied to clipboard
open fun pixels(): Array<Byte>
Returns a byte array that contains the pre-multiplied pixels of the binary image.
Link copied to clipboard
open fun size(): Size
Returns Size of this bitmap instance.
Link copied to clipboard

Creates an instance of BufferedImage from this Bitmap with the same dimensions.